tywx.Timer = {
    setTimer: function(e, c, i, r, t) {
        e && e._TAG && tywx.LOGD("tywx.Timer", "----------in setTimer----------" + (e._TAG ? e._TAG : ""));
        var T = cc.director.getScheduler();
        null != r || cc.REPEAT_FOREVER;
        T.schedule(c, e, i, r, t, !1);
    },
    cancelTimer: function(e, c) {
        e && e._TAG && tywx.LOGD("tywx.Timer", "----------in cancelTimer ---------" + (e._TAG ? e._TAG : "")), 
        cc.director.getScheduler().unschedule(c, e);
    },
    isScheduledTimer: function(e, c) {
        return e && e._TAG && tywx.LOGD("tywx.Timer", "----------in isScheduledTimer ---------" + (e._TAG ? e._TAG : "")), 
        cc.director.getScheduler().isScheduled(c, e);
    }
};